Fix "xm migrate" hang on failure.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 3 Apr 2007 08:03:51 +0000 (09:03 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 3 Apr 2007 08:03:51 +0000 (09:03 +0100)
commit9bea671737e07be91fb948c125cc4f02af5e2a77
tree9b77771a0e8eb9c088e2fc6406bf10e5c9623be5
parentebecb5a9d33fcd997fc75760214f9ec137bd7c5d
Fix "xm migrate" hang on failure.

If a domain fails to restore, report back an error and close the
connection. This still leaves a confusing error from 'xm migrate' in
many cases, but it's much better than just sitting there.

Signed-off-by: John Levon <john.levon@sun.com>
tools/python/xen/xend/server/relocate.py